Installation
Install Visual Studio Code
Install Visual Studio Code Extensions
Add Workspace Settings
- Open Workspace Settings (JSON) by clicking Shift+Ctrl+P and searching for it.
- Add the following configuration there (to upload files under
/upload/
):"markdown.copyFiles.destination": { "/**/*": "uploads/${documentBaseName}/" }
Add User Settings (Optional)
Click Shift+Ctrl+P and search for:
- Markdown All in One: Toggle Code Span, and click the gear icon and set its key binding to Shift+Win+C.
- Markdown All in One: Toggle Code Block, and click the gear icon and set its key binding to Alt+Win+C.
How-To-Do Guide
Creating a New Page from a Wiki Link
You can create a new Markdown page by holding Ctrl down while clicking a wiki link (e.g. [[New Page]]
).
Open Preview Pane
Click Ctrl+Shift+V.
Add File or Image
- Start dragging a file or an image in File Explorer.
- Before dropping hold Shift down.
- Drop the file into a Markdown file.
- It should automatically upload it and create an appropriate tag for it.
Publish Changes
- Commit changes using the Source Control view.
- Sync them.
- It takes up to 5 minutes for them to appear online.